<div id="leftMenu">
	<!--Corner Divs-->
		<div class="leftMenu-BotL">
		<div class="leftMenu-BotR">
		<div class="leftMenu-TopL">
		<div class="leftMenu-TopR">
	<!--Corner Divs-->
    <?php

            if (isset($_SESSION['username']))
            {
    ?>
                    <table border="0" cellpadding="2" cellspacing="2" width="96%">
                    <tr align="right"><td><?php echo "<strong>Hi ".$_SESSION['username'] . "!</a>"; ?></td></tr>
                    <tr class="highlightRows" align="right"><td><a href="my_profile.php">My Profile</a></td></tr>
                    <tr class="highlightRows" align="right"><td>My Software</td></tr>
                    <tr class="highlightRows" align="right"><td><a href="logout.php">Logout</a></td></tr>
                    </table>

    <?php	
            } else {
    ?>
                    <form name="loginForm" id="loginForm" action="login.php" method="post" onsubmit="return check_login_form()">
                    <strong>Username</strong>
                    <input type="text" name="username" id="username" value="" size="5" />
                    <p></p>
                    <strong>Password</strong>
                    <input type="password" name="password" id="password" value="" size="15" />
                    <input type="submit" name="loginSubmit" value="Login" />
                    </form>
     <?php
            }

    ?>
	<!--Corner Divs-->
		</div></div></div></div>
	<!--Corner Divs-->
</div>